[INFO] cloning repository https://github.com/Pranay-Bhilare/RustPortHawkCli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pranay-Bhilare/RustPortHawkCli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay-Bhilare%2FRustPortHawkCli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay-Bhilare%2FRustPortHawkCli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 337fc53eb82a4fb26d0d097feb3925ed1ba41491
[INFO] fixing Pranay-Bhilare/RustPortHawkCli against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay-Bhilare%2FRustPortHawkCli" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Pranay-Bhilare/RustPortHawkCli
[INFO] finished tweaking git repo https://github.com/Pranay-Bhilare/RustPortHawkCli
[INFO] tweaked toml for git repo https://github.com/Pranay-Bhilare/RustPortHawkCli written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Pranay-Bhilare/RustPortHawkCli on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Pranay-Bhilare/RustPortHawkCli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bpaf_derive v0.5.17
[INFO] [stderr]   Downloaded redox_syscall v0.5.10
[INFO] [stderr]   Downloaded owo-colors v4.2.0
[INFO] [stderr]   Downloaded bpaf v0.9.19
[INFO] [stderr]   Downloaded tokio v1.44.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56
[INFO] running `Command { std: "docker" "start" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling owo-colors v4.2.0
[INFO] [stderr]     Checking is_ci v1.2.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking supports-color v3.0.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling bpaf_derive v0.5.17
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking bpaf v0.9.19
[INFO] [stderr]     Checking RustPortHawkCli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `]`, found `,`
[INFO] [stdout]   --> src/main.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Arguments {
[INFO] [stdout]    |            --------- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     #[bpaf(long("start"),short('s'),fallback(1u16)),guard(start_port_guard, "Must be greater than 0")]
[INFO] [stdout]    |                                                    ^ expected `]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token, expected `]`
[INFO] [stdout]   --> src/main.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[bpaf(long("start"),short('s'),fallback(1u16)),guard(start_port_guard, "Must be greater than 0")]
[INFO] [stdout]    |                                                    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `]`, found `,`
[INFO] [stdout]   --> src/main.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Arguments {
[INFO] [stdout]    |            --------- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     #[bpaf(long("start"),short('s'),fallback(1u16)),guard(start_port_guard, "Must be greater than 0")]
[INFO] [stdout]    |                                                    ^ expected `]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `async` keyword is missing from the function declaration
[INFO] [stdout]   --> src/main.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn main() {
[INFO] [stdout]    | ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdout`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, stdout, Write};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token, expected `]`
[INFO] [stdout]   --> src/main.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[bpaf(long("start"),short('s'),fallback(1u16)),guard(start_port_guard, "Must be greater than 0")]
[INFO] [stdout]    |                                                    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `async` keyword is missing from the function declaration
[INFO] [stdout]   --> src/main.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn main() {
[INFO] [stdout]    | ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdout`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, stdout, Write};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<std::net::TcpStream, std::io::Error>` is not a future
[INFO] [stdout]   --> src/main.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     match TcpStream::connect(format!("{}:{}", addr, port)).await {
[INFO] [stdout]    |           ------------------------------------------------ ^^^^^ `Result<std::net::TcpStream, std::io::Error>` is not a future
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this call returns `Result<std::net::TcpStream, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<std::net::TcpStream, std::io::Error>`
[INFO] [stdout]    = note: Result<std::net::TcpStream, std::io::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<std::net::TcpStream, std::io::Error>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 36 -     match TcpStream::connect(format!("{}:{}", addr, port)).await {
[INFO] [stdout] 36 +     match TcpStream::connect(format!("{}:{}", addr, port)) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn start_port_guard(input: &u16) -> bool{
[INFO] [stdout]    |    ----------------                 ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 28 |     *input > 0 ;
[INFO] [stdout]    |                - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<std::net::TcpStream, std::io::Error>` is not a future
[INFO] [stdout]   --> src/main.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     match TcpStream::connect(format!("{}:{}", addr, port)).await {
[INFO] [stdout]    |           ------------------------------------------------ ^^^^^ `Result<std::net::TcpStream, std::io::Error>` is not a future
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this call returns `Result<std::net::TcpStream, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `Result<std::net::TcpStream, std::io::Error>`
[INFO] [stdout]    = note: Result<std::net::TcpStream, std::io::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required for `Result<std::net::TcpStream, std::io::Error>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 36 -     match TcpStream::connect(format!("{}:{}", addr, port)).await {
[INFO] [stdout] 36 +     match TcpStream::connect(format!("{}:{}", addr, port)) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     &input <= MAX ;
[INFO] [stdout]    |               ^^^ expected `&&u16`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn end_port_guard(input: &u16) -> bool{
[INFO] [stdout]    |    --------------                 ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 32 |     &input <= MAX ;
[INFO] [stdout]    |                   - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn start_port_guard(input: &u16) -> bool{
[INFO] [stdout]    |    ----------------                 ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 28 |     *input > 0 ;
[INFO] [stdout]    |                - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustPortHawkCli` (bin "RustPortHawkCli" test) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     &input <= MAX ;
[INFO] [stdout]    |               ^^^ expected `&&u16`, found `u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn end_port_guard(input: &u16) -> bool{
[INFO] [stdout]    |    --------------                 ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 32 |     &input <= MAX ;
[INFO] [stdout]    |                   - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustPortHawkCli` (bin "RustPortHawkCli") due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56", kill_on_drop: false }`
[INFO] [stdout] 76d634353e8e4be04a4c73351c0b80374d58c9463257188356d09cc116cf5c56
